home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
System Booster
/
System Booster.iso
/
Mousetools
/
LeftyMouse
/
makefile
< prev
Wrap
Makefile
|
1996-09-26
|
2KB
|
59 lines
#
# makefile for Commodity
#
# name of commodity
PROJECT = LeftyMouse
PROJECTD = LeftyMouse_D
#
# Definitions for SAS/C
#
LN = Blink
#CFLAGS = -cafs -v -d # for serial debugging
CFLAGS = -cafs -O -mt -v # for release
LFLAGS = DEFINE __main=__tinymain SMALLCODE SMALLDATA NODEBUG QUIET FROM LIB:cback.o
#LNLIB = LIB LIB:lc.lib LIB:amiga.lib+LIB:debug.lib # for serial debugging
LNLIB = LIB LIB:lc.lib LIB:amiga.lib # for release
ALL: $(PROJECT) $(PROJECTD)
$(PROJECT): $(PROJECT).o
$(LN) $(LFLAGS) $(PROJECT).o TO $(PROJECT) $(LNLIB)
$(PROJECT).o: $(PROJECT).c makefile
$(PROJECTD): $(PROJECTD).o
$(LN) $(LFLAGS) $(PROJECTD).o TO $(PROJECTD) $(LNLIB)
$(PROJECTD).o: $(PROJECT).c makefile
$(CC) $(CFLAGS) -dGERMAN -o$(PROJECTD).o $(PROJECT)
install:
copy ($(PROJECT)|$(PROJECTD)) Tools:Commodities
clean:
delete ($(PROJECT)|$(PROJECTD)|\#?.o)
FILES0 = $(PROJECT).c makefile //cback.a.diff //cback.a.diff.readme
FILES1 = $(PROJECT) $(PROJECT).info $(PROJECT).doc $(PROJECT).doc.info
FILES2 = $(PROJECTD) $(PROJECTD).info $(PROJECTD).dok $(PROJECTD).dok.info
distribution: $(PROJECT) $(PROJECTD)
copy SYS:Prefs/Presets/Document.info $(PROJECT).doc.info QUIET
copy SYS:Prefs/Presets/Dokument.info $(PROJECTD).dok.info QUIET
protect $(PROJECT) FLAGS rwed QUIET
protect $(PROJECTD) FLAGS rwed QUIET
protect $(PROJECT).\#? FLAGS rwd QUIET
protect $(PROJECTD).\#? FLAGS rwd QUIET
protect $(PROJECT).c FLAGS rwd QUIET
protect makefile FLAGS rwd QUIET
delete PD:Commodities/$(PROJECT)\#?.LZH
lharc a PD:Commodities/$(PROJECT) $(FILES0)
lharc a PD:Commodities/$(PROJECT) $(FILES1)
lharc a PD:Commodities/$(PROJECT) $(FILES2)
protect PD:Commodities/$(PROJECT).LZH -e
delete $(PROJECT).doc.info QUIET
delete $(PROJECTD).dok.info QUIET
lharc v pd:Commodities/$(PROJECT)